Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Doctrine Event manager v2 #541

Merged

Conversation

X-Coder264
Copy link
Contributor

@X-Coder264 X-Coder264 commented Feb 20, 2023

Subject

I am targeting this branch, because this is a backwards compatible change.

Changelog

### Added
- Support for Doctrine Event manager v2

@@ -13,7 +13,7 @@
"doctrine/collections": "^1.6",
"doctrine/common": "^3.1",
"doctrine/dbal": "^2.13 || ^3.0",
"doctrine/event-manager": "^1.1",
"doctrine/event-manager": "^1.2 || ^2.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 1.1 to 1.2 bump is needed in order to be able to have code that is compatible with both v1 and v2 at the same time (the getAllListeners method call to be more specific).

@VincentLanglet VincentLanglet merged commit 7a77061 into sonata-project:1.x Feb 20, 2023
@VincentLanglet
Copy link
Member

Thanks !

Do you need a release for this ?

@X-Coder264 X-Coder264 deleted the allow-doctrine-event-manager-v2 branch February 20, 2023 13:01
@X-Coder264
Copy link
Contributor Author

@VincentLanglet Thanks for the merge. I'm in no hurry for a release for this, though #543 probably warrants a release once it's merged.

@VincentLanglet
Copy link
Member

#543 is merged too. I can make a release, unless you have other PR in mind before

@X-Coder264
Copy link
Contributor Author

@VincentLanglet I have one more PR in mind, will be sending it in today.

@X-Coder264
Copy link
Contributor Author

@VincentLanglet Here it is, even sooner than I expected 😄

#544

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants